#pragma once
#include <iostream>


#define Die(code) exit(code)
#define CONV(s) (struct sockaddr*)(s)

enum 
{
    USAGE_ERR = 1,
    SOCKET_ERR,
    BIND_ERR,
    LISTEN_ERR
};